package com.wisnews.mapper.sec;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.wisnews.pojo.sec.entity.ShiroRequestController;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 请求控制列表 Mapper 接口
 * </p>
 *
 * @author yuyd
 * @since 2020-12-22
 */
@Mapper
public interface ShiroRequestControllerMapper extends BaseMapper<ShiroRequestController> {

    @Select(" select a.* from t_sec_shiro_request_controller a ${ew.customSqlSegment}")
    IPage<ShiroRequestController> getRequestForPage(@Param(Constants.WRAPPER) Wrapper<ShiroRequestController> lambdaQueryWrapper, IPage page);

}
